package com.codingfuture.glaciercommon.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Author: Ji
 * @DateTime: 2025-04-10 15:59
 * @Description:
 **/
@Data
@TableName("warehouse")
public class Warehouse implements Serializable {
    private static final long serialVersionUID = 6L;
    @JsonFormat(shape = JsonFormat.Shape.STRING) // 添加此注解解决大整数ID在前端显示时的精度丢失问题
    private Long id;
    private Integer type;
    private String sn;
    private String name;
    private String manager;
    private String email;
    private String phone;
    private String address;
    private Integer area;
    private double longitude;
    private double latitude;
    private Integer state;
    private String gateway;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private String maxHum;
    private String minHum;
    private String maxTem;
    private String minTem;
    private String companyName;
    private Integer companyId;
    private Integer statusesId;


}

